package com.burstly.lib.component.networkcomponent.burstly.html.mraid;

import java.util.HashMap;
import java.util.Map;

class SizePositionEvent extends MraidEvent
{
  static final int EVENT_ID = 7;
  private static final String SIZE = "size";
  private float mPrevHeight;
  private float mPrevWidth;

  void fireEvent(MraidView paramMraidView, Object[] paramArrayOfObject)
  {
    Boolean localBoolean = Boolean.FALSE;
    if (checkArgs(paramArrayOfObject))
      localBoolean = Boolean.valueOf(Boolean.TRUE.equals(paramArrayOfObject[0]));
    HashMap localHashMap = new HashMap();
    paramMraidView.addCurrentPositionValue(localHashMap);
    int i = paramMraidView.getMeasuredWidth();
    int j = paramMraidView.getMeasuredHeight();
    if ((localBoolean.booleanValue()) || (this.mPrevHeight != j) || (this.mPrevWidth != i))
    {
      localHashMap.put("size", paramMraidView.getViewSize());
      this.mPrevHeight = j;
      this.mPrevWidth = i;
    }
    paramMraidView.fireComplexChangeEvent(localHashMap);
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.burstly.lib.component.networkcomponent.burstly.html.mraid.SizePositionEvent
 * JD-Core Version:    0.6.2
 */